package com.example.exercise.xiaodemos;

import org.nlpcn.commons.lang.jianfan.JianFan;
import org.nlpcn.commons.lang.pinyin.Pinyin;

/**
 * 中文繁简拼音转换
 */
public class NlpcnDemo {
    public static void main(String[] args) {
        System.out.println(JianFan.j2f("中文繁简拼音转换，简体转繁体"));
        System.out.println(JianFan.f2j("中文繁簡拼音轉換，繁體轉簡體"));
        System.out.println(Pinyin.pinyin("中文繁简拼音转换，获取汉语拼音"));
    }
}
